import request from '@/utils/request'

export function getProductTypeList() {
  return request({
    url: '/product/type/List',
    method: 'get'
  })
}

export function getStatisticsTypeList() {
  return request({
    url: '/order/code/statistics/dimension/list',
    method: 'get'
  })
}

export function getActiveList(params) {
  return request({
    url: '/order/code/active/statistics/list',
    method: 'get',
    params: params
  })
}

export function getUnactiveList(params) {
  return request({
    url: '/order/code/unactive/statistics/list',
    method: 'get',
    params: params
  })
}
